package xyz.keyon.bean;

public class Student {
    private String Sno;
    private String Sname;
    private int Sage;
    private String Saddress;

    public Student() {
    }

    public Student(String sno, String sname, int sage, String saddress) {
        Sno = sno;
        Sname = sname;
        Sage = sage;
        Saddress = saddress;
    }

    public String getSno() {
        return Sno;
    }

    public void setSno(String sno) {
        Sno = sno;
    }

    public String getSname() {
        return Sname;
    }

    public void setSname(String sname) {
        Sname = sname;
    }

    public int getSage() {
        return Sage;
    }

    public void setSage(int sage) {
        Sage = sage;
    }

    public String getSaddress() {
        return Saddress;
    }

    public void setSaddress(String saddress) {
        Saddress = saddress;
    }

    @Override
    public String toString() {
        return "Student{" +
                "Sno='" + Sno + '\'' +
                ", Sname='" + Sname + '\'' +
                ", Sage=" + Sage +
                ", Saddress='" + Saddress + '\'' +
                '}';
    }
}
